package com.gs.disk.modules.headImgAndWallper.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gs.entity.TreeNode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 壁纸或头像分类;
 * @author : http://www.chiner.pro
 * @date : 2022-9-28
 */
@ApiModel(value = "壁纸或头像分类",description = "")
@TableName("wallper_category")
@Data
@EqualsAndHashCode(callSuper=false)
public class CategoryEntity extends TreeNode implements Serializable,Cloneable {
    /** 主键 */
    @ApiModelProperty(name = "id",value = "主键")
    private Long id;
    @ApiModelProperty(name = "id",value = "父级id")
    @TableId
    private Long pid;
    /** 分类名称 */
    @ApiModelProperty(name = "categoryName",value = "分类名称")
    private String categoryName;

    /** 是否启用 */
    @ApiModelProperty(name = "dataStatus",value = "级别")
    private int categoryLevel;

    private int sort;

}